package shopping.mode;

/**
 * 产品
 */
public class Produce {
    /**
     * 产品编号
     */
    private String prodNo;
    private String name;
    private double price;
    private int num;
    /**
     * 店铺id
     */
    private String storeId;
    /**
     * 是否下架
     */
    private boolean idRemove;
    /**
     * 有效开始时间
     */
    private String startDate;
    /**
     * 有效结束时间
     */
    private String endDate;

    public Produce() {
    }

    public Produce(String prodNo, String name, double price, int num, String storeId, boolean idRemove, String startDate, String endDate) {
        this.prodNo = prodNo;
        this.name = name;
        this.price = price;
        this.num = num;
        this.storeId = storeId;
        this.idRemove = idRemove;
        this.startDate = startDate;
        this.endDate = endDate;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public String getProdNo() {
        return prodNo;
    }

    public void setProdNo(String prodNo) {
        this.prodNo = prodNo;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public boolean isIdRemove() {
        return idRemove;
    }

    public void setIdRemove(boolean idRemove) {
        this.idRemove = idRemove;
    }

    public String getStartDate() {
        return startDate;
    }

    public void setStartDate(String startDate) {
        this.startDate = startDate;
    }

    public String getEndDate() {
        return endDate;
    }

    public void setEndDate(String endDate) {
        this.endDate = endDate;
    }
}
